<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/view/common/kendocommon.jsp"%>
<script>
    $(document).ready(function () {
        $('#loginOut').click(function () {
            window.location.href = "${path}/user/logout";
        })

        $('#register').click(function () {
            window.location.href = "${path}/user/registerPage";
        })
        
        $('#xenontest').click(function () {
            window.location.href = "${path}/xenon/index";
        })
    })
</script>
<div>
    <form class="login-form" action="${path}/user/login" method="post">
        <div class="form-group">
            <label class="control-label visible-ie8 visible-ie9">用户名</label>

            <div class="input-icon">
                <input name="username" id="username" size="25" value="starzou" class="form-control placeholder-no-fix"
                       type="text" autocomplete="off" placeholder="用户名"/>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label visible-ie8 visible-ie9">密码</label>

            <div class="input-icon">
                <input name="password" id="password" size="25" value="123456" class="form-control placeholder-no-fix"
                       type="password" autocomplete="off" placeholder="密码"/>
            </div>
        </div>
        <div class="form-actions">
            <button id="loginBut" type="submit" class="btn">
                登录 <i class="m-icon-swapright m-icon-white"></i>
            </button>

        </div>
    </form>
    <button id="loginOut" class="btn">
        	登出
    </button>
    <button id="xenontest" class="btn">
        	xenon
    </button>
</div>